//能源apis 水电
const lifeApi = (vm) => {
    return {
        // 抄表列表
        zsCustomerList: (data) => {
            return vm.$u.get('/life/zsCustomer/list', data)
        },
        // 已租赁企业列表
        leaseEnList: (data) => {
            return vm.$u.get('/life/feApartment/leaseEnList', data)
        },
        // 已租企业详情
        feApartmentLeaseDetail: (data) => {
            return vm.$u.get('/life/feApartmentLeaseDetail/list', data)
        },
        // 通过id获取退租信息
        getRefundHistoryById: (id) => {
            return vm.$u.get(`/life/feApartmentCancel/getVO/${id}`)
        },
        //life/feApartmentCancel/getGroupVO/{id}
        getGroupLeaseVO: (id) => {
            return vm.$u.get(`/life/feApartmentCancel/getGroupVO/${id}`)
        },
        //退租列表
        feApartmentCancelList: (data) => {
            return vm.$u.get(`/life/feApartmentCancel/list`,data)
        },
        //新增收款明细
        addReceiptDetail:(data)=>{
            return vm.$u.post('/life/sfReceiptDetail',data)
        },
        //查询应收账单列表
        feApartBillList: (data) => {
            return vm.$u.get(`/life/feApartBill/list`,data)
        },
        // /life/feApartBill/getVO/1578920001316847616
        feApartBillVo: (id) => {
            return vm.$u.get(`/life/feApartBill/getVO/${id}`)
        },
        // 公寓账单确认接口
        apartmentBillNotice: (data) => {
            return vm.$u.post(`/life/feApartBill/apartmentBillNotice`,data)
        },
    //    /life/lifeApartmentPerson/list
    //    园区入住人员
        lifeApartmentPerson: (data) => {
            return vm.$u.get('/life/lifeApartmentPerson/list', data)
        },
    }
}


export default lifeApi
